/****************************************************
 * Copyright (c) 2015 SJXT Technology Limited, All rights reserved.
 *
 * No part of this program may be reproduced, transmitted,
 * transcribed, stored in a retrieval system, or translated into any 
 * other computer languages in any form or by any means without the
 * prior written permission of:
 *
 *   SJXT.CO.LTD.
 *   540, JinNing Road, Xiangzhou Zhuhai, GD 
 *   P.R. China
 *   Tel:       (+86)756-2274333
 *   Fax:       (+86)756-2282339
 **************************************************/
package com.zhao.util;

import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;

import javax.net.ssl.X509TrustManager;

/**  
* @ClassName: MyX509TrustManager  
* @Description: ���ι�����
* @author	zhaowj
* @
*    
*/
public class MyX509TrustManager  implements X509TrustManager {
	//检查客户端证书
	  public void  checkClientTrusted(X509Certificate[] chain,String authType) throws CertificateException {
		
	 }
	  //检查服务器端证书
	  public void checkServerTrusted(X509Certificate[] chain,String authType) throws CertificateException {
			
	  }
	//返回受信任的X509证书数组
	  public X509Certificate[] getAcceptedIssuers()
	  {
		  return null;
	  }
}
